package com.qys.livesMall.anchor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.anchor.model.dto.lives.sys.QueryLiveRoomDTO;
import com.qys.livesMall.anchor.model.entity.AnchorLivesSession;

/**
 * <p>
 * 直播场次表 服务类
 * </p>
 *
 * @author wzy
 * @since 2023-06-26
 */
public interface AnchorLivesSessionService extends IService<AnchorLivesSession> {

    AnchorLivesSession getIsStarted(Long livesRoomId);

    Page<AnchorLivesSession> pageAllRoom(QueryLiveRoomDTO dto);

    /**
     * 随机获取一条水军消息
     * @param type 类型 0：水军弹幕 1：水军商品评论 2：水军短视频评论
     * @return
     */
    String randomMessage(int type);
}
